<template>
	<view>
		<u-search shape="square" :showAction="false"></u-search>
		<u-tabs :list="list" @click="click"></u-tabs>
		<u-empty mode="favor" icon="http://cdn.uviewui.com/uview/empty/car.png">
		</u-empty>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list: [{
					name: '全部',
				}, {
					name: '图片',
				}, {
					name: '视频'
				}, {
					name: '文件'
				}, {
					name: '语音'
				}, {
					name: '文本'
				}, {
					name: '链接'
				}]
			}
		},
		methods: {
			click(item) {
				console.log('item', item);
			}
		}
	}
</script>

<style>

</style>
